package com.yuedao.sender.model1;

import javax.persistence.*;

/**
 * AssistDemo
 * com.chris.demo.model.orm
 * Created by Chris Chen
 * 2018/1/5
 * Explain:
 */
@Entity(name = "ydx_pricing_algorithms")
public class PriceAlgorithmEntity {
    private int id;
    private String morningPeakStart;
    private String morningPeakEnd;
    private String eveningPeakStart;
    private String eveningPeakEnd;
    private String otherPeakStart;
    private String otherPeakEnd;
    private String nightTimeStart;
    private String nightTimeEnd;
    private Integer basePrice;
    private Integer baseDistance;
    private Integer pricePerKm;
    private Integer pricePerMinute;
    private Double distanceCompensatoryThreshold;
    private Double returnTripCompensatoryDivider;
    private Double returnTripCompensatoryPower;
    private Double returnTripCompensatoryCoefficientA;
    private Double returnTripCompensatoryCoefficientB;
    private Double returnTripCompensatoryCoefficientC;
    private Integer basePriceForMorningPeak;
    private Integer baseDistanceForMorningPeak;
    private Integer pricePerKmForMorningPeak;
    private Integer pricePerMinuteForMorningPeak;
    private Double distanceCompensatoryThresholdForMorningPeak;
    private Double returnTripCompensatoryDividerForMorningPeak;
    private Double returnTripCompensatoryPowerForMorningPeak;
    private Double returnTripCompensatoryCoefficientAForMorningPeak;
    private Double returnTripCompensatoryCoefficientBForMorningPeak;
    private Double returnTripCompensatoryCoefficientCForMorningPeak;
    private Integer basePriceForEveningPeak;
    private Integer baseDistanceForEveningPeak;
    private Integer pricePerKmForEveningPeak;
    private Integer pricePerMinuteForEveningPeak;
    private Double distanceCompensatoryThresholdForEveningPeak;
    private Double returnTripCompensatoryDividerForEveningPeak;
    private Double returnTripCompensatoryPowerForEveningPeak;
    private Double returnTripCompensatoryCoefficientAForEveningPeak;
    private Double returnTripCompensatoryCoefficientBForEveningPeak;
    private Double returnTripCompensatoryCoefficientCForEveningPeak;
    private Integer basePriceForOtherPeak;
    private Integer baseDistanceForOtherPeak;
    private Integer pricePerKmForOtherPeak;
    private Integer pricePerMinuteForOtherPeak;
    private Double distanceCompensatoryThresholdForOtherPeak;
    private Double returnTripCompensatoryDividerForOtherPeak;
    private Double returnTripCompensatoryPowerForOtherPeak;
    private Double returnTripCompensatoryCoefficientAForOtherPeak;
    private Double returnTripCompensatoryCoefficientBForOtherPeak;
    private Double returnTripCompensatoryCoefficientCForOtherPeak;
    private Integer basePriceForNightTime;
    private Integer baseDistanceForNightTime;
    private Integer pricePerKmForNightTime;
    private Integer pricePerMinuteForNightTime;
    private Double distanceCompensatoryThresholdForNightTime;
    private Double returnTripCompensatoryDividerForNightTime;
    private Double returnTripCompensatoryPowerForNightTime;
    private Double returnTripCompensatoryCoefficientAForNightTime;
    private Double returnTripCompensatoryCoefficientBForNightTime;
    private Double returnTripCompensatoryCoefficientCForNightTime;
    private Integer fixedPrice;
    private Integer halfdayCharterPrice;
    private Integer halfdayCharterKmIncluded;
    private Integer fulldayCharterPrice;
    private Integer fulldayCharterKmIncluded;
    private Integer hourlyCharterPrice;
    private Integer hourlyCharterKmIncluded;
    private Integer halfdayCharterPerPersonPrice;
    private Integer fulldayCharterPerPersonPrice;
    private Integer charterExtraPerKm;
    private Integer charterExtraPerHour;
    private Integer available;
    private String description;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "morning_peak_start", nullable = true, length = 5)
    public String getMorningPeakStart() {
        return morningPeakStart;
    }

    public void setMorningPeakStart(String morningPeakStart) {
        this.morningPeakStart = morningPeakStart;
    }

    @Basic
    @Column(name = "morning_peak_end", nullable = true, length = 5)
    public String getMorningPeakEnd() {
        return morningPeakEnd;
    }

    public void setMorningPeakEnd(String morningPeakEnd) {
        this.morningPeakEnd = morningPeakEnd;
    }

    @Basic
    @Column(name = "evening_peak_start", nullable = true, length = 5)
    public String getEveningPeakStart() {
        return eveningPeakStart;
    }

    public void setEveningPeakStart(String eveningPeakStart) {
        this.eveningPeakStart = eveningPeakStart;
    }

    @Basic
    @Column(name = "evening_peak_end", nullable = true, length = 5)
    public String getEveningPeakEnd() {
        return eveningPeakEnd;
    }

    public void setEveningPeakEnd(String eveningPeakEnd) {
        this.eveningPeakEnd = eveningPeakEnd;
    }

    @Basic
    @Column(name = "other_peak_start", nullable = true, length = 5)
    public String getOtherPeakStart() {
        return otherPeakStart;
    }

    public void setOtherPeakStart(String otherPeakStart) {
        this.otherPeakStart = otherPeakStart;
    }

    @Basic
    @Column(name = "other_peak_end", nullable = true, length = 5)
    public String getOtherPeakEnd() {
        return otherPeakEnd;
    }

    public void setOtherPeakEnd(String otherPeakEnd) {
        this.otherPeakEnd = otherPeakEnd;
    }

    @Basic
    @Column(name = "night_time_start", nullable = true, length = 5)
    public String getNightTimeStart() {
        return nightTimeStart;
    }

    public void setNightTimeStart(String nightTimeStart) {
        this.nightTimeStart = nightTimeStart;
    }

    @Basic
    @Column(name = "night_time_end", nullable = true, length = 5)
    public String getNightTimeEnd() {
        return nightTimeEnd;
    }

    public void setNightTimeEnd(String nightTimeEnd) {
        this.nightTimeEnd = nightTimeEnd;
    }

    @Basic
    @Column(name = "base_price", nullable = true)
    public Integer getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(Integer basePrice) {
        this.basePrice = basePrice;
    }

    @Basic
    @Column(name = "base_distance", nullable = true)
    public Integer getBaseDistance() {
        return baseDistance;
    }

    public void setBaseDistance(Integer baseDistance) {
        this.baseDistance = baseDistance;
    }

    @Basic
    @Column(name = "price_per_km", nullable = true)
    public Integer getPricePerKm() {
        return pricePerKm;
    }

    public void setPricePerKm(Integer pricePerKm) {
        this.pricePerKm = pricePerKm;
    }

    @Basic
    @Column(name = "price_per_minute", nullable = true)
    public Integer getPricePerMinute() {
        return pricePerMinute;
    }

    public void setPricePerMinute(Integer pricePerMinute) {
        this.pricePerMinute = pricePerMinute;
    }

    @Basic
    @Column(name = "distance_compensatory_threshold", nullable = true, precision = 2)
    public Double getDistanceCompensatoryThreshold() {
        return distanceCompensatoryThreshold;
    }

    public void setDistanceCompensatoryThreshold(Double distanceCompensatoryThreshold) {
        this.distanceCompensatoryThreshold = distanceCompensatoryThreshold;
    }

    @Basic
    @Column(name = "return_trip_compensatory_divider", nullable = true, precision = 2)
    public Double getReturnTripCompensatoryDivider() {
        return returnTripCompensatoryDivider;
    }

    public void setReturnTripCompensatoryDivider(Double returnTripCompensatoryDivider) {
        this.returnTripCompensatoryDivider = returnTripCompensatoryDivider;
    }

    @Basic
    @Column(name = "return_trip_compensatory_power", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryPower() {
        return returnTripCompensatoryPower;
    }

    public void setReturnTripCompensatoryPower(Double returnTripCompensatoryPower) {
        this.returnTripCompensatoryPower = returnTripCompensatoryPower;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_a", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientA() {
        return returnTripCompensatoryCoefficientA;
    }

    public void setReturnTripCompensatoryCoefficientA(Double returnTripCompensatoryCoefficientA) {
        this.returnTripCompensatoryCoefficientA = returnTripCompensatoryCoefficientA;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_b", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientB() {
        return returnTripCompensatoryCoefficientB;
    }

    public void setReturnTripCompensatoryCoefficientB(Double returnTripCompensatoryCoefficientB) {
        this.returnTripCompensatoryCoefficientB = returnTripCompensatoryCoefficientB;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_c", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientC() {
        return returnTripCompensatoryCoefficientC;
    }

    public void setReturnTripCompensatoryCoefficientC(Double returnTripCompensatoryCoefficientC) {
        this.returnTripCompensatoryCoefficientC = returnTripCompensatoryCoefficientC;
    }

    @Basic
    @Column(name = "base_price_for_morning_peak", nullable = true)
    public Integer getBasePriceForMorningPeak() {
        return basePriceForMorningPeak;
    }

    public void setBasePriceForMorningPeak(Integer basePriceForMorningPeak) {
        this.basePriceForMorningPeak = basePriceForMorningPeak;
    }

    @Basic
    @Column(name = "base_distance_for_morning_peak", nullable = true)
    public Integer getBaseDistanceForMorningPeak() {
        return baseDistanceForMorningPeak;
    }

    public void setBaseDistanceForMorningPeak(Integer baseDistanceForMorningPeak) {
        this.baseDistanceForMorningPeak = baseDistanceForMorningPeak;
    }

    @Basic
    @Column(name = "price_per_km_for_morning_peak", nullable = true)
    public Integer getPricePerKmForMorningPeak() {
        return pricePerKmForMorningPeak;
    }

    public void setPricePerKmForMorningPeak(Integer pricePerKmForMorningPeak) {
        this.pricePerKmForMorningPeak = pricePerKmForMorningPeak;
    }

    @Basic
    @Column(name = "price_per_minute_for_morning_peak", nullable = true)
    public Integer getPricePerMinuteForMorningPeak() {
        return pricePerMinuteForMorningPeak;
    }

    public void setPricePerMinuteForMorningPeak(Integer pricePerMinuteForMorningPeak) {
        this.pricePerMinuteForMorningPeak = pricePerMinuteForMorningPeak;
    }

    @Basic
    @Column(name = "distance_compensatory_threshold_for_morning_peak", nullable = true, precision = 2)
    public Double getDistanceCompensatoryThresholdForMorningPeak() {
        return distanceCompensatoryThresholdForMorningPeak;
    }

    public void setDistanceCompensatoryThresholdForMorningPeak(Double distanceCompensatoryThresholdForMorningPeak) {
        this.distanceCompensatoryThresholdForMorningPeak = distanceCompensatoryThresholdForMorningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_divider_for_morning_peak", nullable = true, precision = 2)
    public Double getReturnTripCompensatoryDividerForMorningPeak() {
        return returnTripCompensatoryDividerForMorningPeak;
    }

    public void setReturnTripCompensatoryDividerForMorningPeak(Double returnTripCompensatoryDividerForMorningPeak) {
        this.returnTripCompensatoryDividerForMorningPeak = returnTripCompensatoryDividerForMorningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_power_for_morning_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryPowerForMorningPeak() {
        return returnTripCompensatoryPowerForMorningPeak;
    }

    public void setReturnTripCompensatoryPowerForMorningPeak(Double returnTripCompensatoryPowerForMorningPeak) {
        this.returnTripCompensatoryPowerForMorningPeak = returnTripCompensatoryPowerForMorningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_a_for_morning_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientAForMorningPeak() {
        return returnTripCompensatoryCoefficientAForMorningPeak;
    }

    public void setReturnTripCompensatoryCoefficientAForMorningPeak(Double returnTripCompensatoryCoefficientAForMorningPeak) {
        this.returnTripCompensatoryCoefficientAForMorningPeak = returnTripCompensatoryCoefficientAForMorningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_b_for_morning_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientBForMorningPeak() {
        return returnTripCompensatoryCoefficientBForMorningPeak;
    }

    public void setReturnTripCompensatoryCoefficientBForMorningPeak(Double returnTripCompensatoryCoefficientBForMorningPeak) {
        this.returnTripCompensatoryCoefficientBForMorningPeak = returnTripCompensatoryCoefficientBForMorningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_c_for_morning_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientCForMorningPeak() {
        return returnTripCompensatoryCoefficientCForMorningPeak;
    }

    public void setReturnTripCompensatoryCoefficientCForMorningPeak(Double returnTripCompensatoryCoefficientCForMorningPeak) {
        this.returnTripCompensatoryCoefficientCForMorningPeak = returnTripCompensatoryCoefficientCForMorningPeak;
    }

    @Basic
    @Column(name = "base_price_for_evening_peak", nullable = true)
    public Integer getBasePriceForEveningPeak() {
        return basePriceForEveningPeak;
    }

    public void setBasePriceForEveningPeak(Integer basePriceForEveningPeak) {
        this.basePriceForEveningPeak = basePriceForEveningPeak;
    }

    @Basic
    @Column(name = "base_distance_for_evening_peak", nullable = true)
    public Integer getBaseDistanceForEveningPeak() {
        return baseDistanceForEveningPeak;
    }

    public void setBaseDistanceForEveningPeak(Integer baseDistanceForEveningPeak) {
        this.baseDistanceForEveningPeak = baseDistanceForEveningPeak;
    }

    @Basic
    @Column(name = "price_per_km_for_evening_peak", nullable = true)
    public Integer getPricePerKmForEveningPeak() {
        return pricePerKmForEveningPeak;
    }

    public void setPricePerKmForEveningPeak(Integer pricePerKmForEveningPeak) {
        this.pricePerKmForEveningPeak = pricePerKmForEveningPeak;
    }

    @Basic
    @Column(name = "price_per_minute_for_evening_peak", nullable = true)
    public Integer getPricePerMinuteForEveningPeak() {
        return pricePerMinuteForEveningPeak;
    }

    public void setPricePerMinuteForEveningPeak(Integer pricePerMinuteForEveningPeak) {
        this.pricePerMinuteForEveningPeak = pricePerMinuteForEveningPeak;
    }

    @Basic
    @Column(name = "distance_compensatory_threshold_for_evening_peak", nullable = true, precision = 2)
    public Double getDistanceCompensatoryThresholdForEveningPeak() {
        return distanceCompensatoryThresholdForEveningPeak;
    }

    public void setDistanceCompensatoryThresholdForEveningPeak(Double distanceCompensatoryThresholdForEveningPeak) {
        this.distanceCompensatoryThresholdForEveningPeak = distanceCompensatoryThresholdForEveningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_divider_for_evening_peak", nullable = true, precision = 2)
    public Double getReturnTripCompensatoryDividerForEveningPeak() {
        return returnTripCompensatoryDividerForEveningPeak;
    }

    public void setReturnTripCompensatoryDividerForEveningPeak(Double returnTripCompensatoryDividerForEveningPeak) {
        this.returnTripCompensatoryDividerForEveningPeak = returnTripCompensatoryDividerForEveningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_power_for_evening_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryPowerForEveningPeak() {
        return returnTripCompensatoryPowerForEveningPeak;
    }

    public void setReturnTripCompensatoryPowerForEveningPeak(Double returnTripCompensatoryPowerForEveningPeak) {
        this.returnTripCompensatoryPowerForEveningPeak = returnTripCompensatoryPowerForEveningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_a_for_evening_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientAForEveningPeak() {
        return returnTripCompensatoryCoefficientAForEveningPeak;
    }

    public void setReturnTripCompensatoryCoefficientAForEveningPeak(Double returnTripCompensatoryCoefficientAForEveningPeak) {
        this.returnTripCompensatoryCoefficientAForEveningPeak = returnTripCompensatoryCoefficientAForEveningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_b_for_evening_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientBForEveningPeak() {
        return returnTripCompensatoryCoefficientBForEveningPeak;
    }

    public void setReturnTripCompensatoryCoefficientBForEveningPeak(Double returnTripCompensatoryCoefficientBForEveningPeak) {
        this.returnTripCompensatoryCoefficientBForEveningPeak = returnTripCompensatoryCoefficientBForEveningPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_c_for_evening_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientCForEveningPeak() {
        return returnTripCompensatoryCoefficientCForEveningPeak;
    }

    public void setReturnTripCompensatoryCoefficientCForEveningPeak(Double returnTripCompensatoryCoefficientCForEveningPeak) {
        this.returnTripCompensatoryCoefficientCForEveningPeak = returnTripCompensatoryCoefficientCForEveningPeak;
    }

    @Basic
    @Column(name = "base_price_for_other_peak", nullable = true)
    public Integer getBasePriceForOtherPeak() {
        return basePriceForOtherPeak;
    }

    public void setBasePriceForOtherPeak(Integer basePriceForOtherPeak) {
        this.basePriceForOtherPeak = basePriceForOtherPeak;
    }

    @Basic
    @Column(name = "base_distance_for_other_peak", nullable = true)
    public Integer getBaseDistanceForOtherPeak() {
        return baseDistanceForOtherPeak;
    }

    public void setBaseDistanceForOtherPeak(Integer baseDistanceForOtherPeak) {
        this.baseDistanceForOtherPeak = baseDistanceForOtherPeak;
    }

    @Basic
    @Column(name = "price_per_km_for_other_peak", nullable = true)
    public Integer getPricePerKmForOtherPeak() {
        return pricePerKmForOtherPeak;
    }

    public void setPricePerKmForOtherPeak(Integer pricePerKmForOtherPeak) {
        this.pricePerKmForOtherPeak = pricePerKmForOtherPeak;
    }

    @Basic
    @Column(name = "price_per_minute_for_other_peak", nullable = true)
    public Integer getPricePerMinuteForOtherPeak() {
        return pricePerMinuteForOtherPeak;
    }

    public void setPricePerMinuteForOtherPeak(Integer pricePerMinuteForOtherPeak) {
        this.pricePerMinuteForOtherPeak = pricePerMinuteForOtherPeak;
    }

    @Basic
    @Column(name = "distance_compensatory_threshold_for_other_peak", nullable = true, precision = 2)
    public Double getDistanceCompensatoryThresholdForOtherPeak() {
        return distanceCompensatoryThresholdForOtherPeak;
    }

    public void setDistanceCompensatoryThresholdForOtherPeak(Double distanceCompensatoryThresholdForOtherPeak) {
        this.distanceCompensatoryThresholdForOtherPeak = distanceCompensatoryThresholdForOtherPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_divider_for_other_peak", nullable = true, precision = 2)
    public Double getReturnTripCompensatoryDividerForOtherPeak() {
        return returnTripCompensatoryDividerForOtherPeak;
    }

    public void setReturnTripCompensatoryDividerForOtherPeak(Double returnTripCompensatoryDividerForOtherPeak) {
        this.returnTripCompensatoryDividerForOtherPeak = returnTripCompensatoryDividerForOtherPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_power_for_other_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryPowerForOtherPeak() {
        return returnTripCompensatoryPowerForOtherPeak;
    }

    public void setReturnTripCompensatoryPowerForOtherPeak(Double returnTripCompensatoryPowerForOtherPeak) {
        this.returnTripCompensatoryPowerForOtherPeak = returnTripCompensatoryPowerForOtherPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_a_for_other_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientAForOtherPeak() {
        return returnTripCompensatoryCoefficientAForOtherPeak;
    }

    public void setReturnTripCompensatoryCoefficientAForOtherPeak(Double returnTripCompensatoryCoefficientAForOtherPeak) {
        this.returnTripCompensatoryCoefficientAForOtherPeak = returnTripCompensatoryCoefficientAForOtherPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_b_for_other_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientBForOtherPeak() {
        return returnTripCompensatoryCoefficientBForOtherPeak;
    }

    public void setReturnTripCompensatoryCoefficientBForOtherPeak(Double returnTripCompensatoryCoefficientBForOtherPeak) {
        this.returnTripCompensatoryCoefficientBForOtherPeak = returnTripCompensatoryCoefficientBForOtherPeak;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_c_for_other_peak", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientCForOtherPeak() {
        return returnTripCompensatoryCoefficientCForOtherPeak;
    }

    public void setReturnTripCompensatoryCoefficientCForOtherPeak(Double returnTripCompensatoryCoefficientCForOtherPeak) {
        this.returnTripCompensatoryCoefficientCForOtherPeak = returnTripCompensatoryCoefficientCForOtherPeak;
    }

    @Basic
    @Column(name = "base_price_for_night_time", nullable = true)
    public Integer getBasePriceForNightTime() {
        return basePriceForNightTime;
    }

    public void setBasePriceForNightTime(Integer basePriceForNightTime) {
        this.basePriceForNightTime = basePriceForNightTime;
    }

    @Basic
    @Column(name = "base_distance_for_night_time", nullable = true)
    public Integer getBaseDistanceForNightTime() {
        return baseDistanceForNightTime;
    }

    public void setBaseDistanceForNightTime(Integer baseDistanceForNightTime) {
        this.baseDistanceForNightTime = baseDistanceForNightTime;
    }

    @Basic
    @Column(name = "price_per_km_for_night_time", nullable = true)
    public Integer getPricePerKmForNightTime() {
        return pricePerKmForNightTime;
    }

    public void setPricePerKmForNightTime(Integer pricePerKmForNightTime) {
        this.pricePerKmForNightTime = pricePerKmForNightTime;
    }

    @Basic
    @Column(name = "price_per_minute_for_night_time", nullable = true)
    public Integer getPricePerMinuteForNightTime() {
        return pricePerMinuteForNightTime;
    }

    public void setPricePerMinuteForNightTime(Integer pricePerMinuteForNightTime) {
        this.pricePerMinuteForNightTime = pricePerMinuteForNightTime;
    }

    @Basic
    @Column(name = "distance_compensatory_threshold_for_night_time", nullable = true, precision = 2)
    public Double getDistanceCompensatoryThresholdForNightTime() {
        return distanceCompensatoryThresholdForNightTime;
    }

    public void setDistanceCompensatoryThresholdForNightTime(Double distanceCompensatoryThresholdForNightTime) {
        this.distanceCompensatoryThresholdForNightTime = distanceCompensatoryThresholdForNightTime;
    }

    @Basic
    @Column(name = "return_trip_compensatory_divider_for_night_time", nullable = true, precision = 2)
    public Double getReturnTripCompensatoryDividerForNightTime() {
        return returnTripCompensatoryDividerForNightTime;
    }

    public void setReturnTripCompensatoryDividerForNightTime(Double returnTripCompensatoryDividerForNightTime) {
        this.returnTripCompensatoryDividerForNightTime = returnTripCompensatoryDividerForNightTime;
    }

    @Basic
    @Column(name = "return_trip_compensatory_power_for_night_time", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryPowerForNightTime() {
        return returnTripCompensatoryPowerForNightTime;
    }

    public void setReturnTripCompensatoryPowerForNightTime(Double returnTripCompensatoryPowerForNightTime) {
        this.returnTripCompensatoryPowerForNightTime = returnTripCompensatoryPowerForNightTime;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_a_for_night_time", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientAForNightTime() {
        return returnTripCompensatoryCoefficientAForNightTime;
    }

    public void setReturnTripCompensatoryCoefficientAForNightTime(Double returnTripCompensatoryCoefficientAForNightTime) {
        this.returnTripCompensatoryCoefficientAForNightTime = returnTripCompensatoryCoefficientAForNightTime;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_b_for_night_time", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientBForNightTime() {
        return returnTripCompensatoryCoefficientBForNightTime;
    }

    public void setReturnTripCompensatoryCoefficientBForNightTime(Double returnTripCompensatoryCoefficientBForNightTime) {
        this.returnTripCompensatoryCoefficientBForNightTime = returnTripCompensatoryCoefficientBForNightTime;
    }

    @Basic
    @Column(name = "return_trip_compensatory_coefficient_c_for_night_time", nullable = true, precision = 5)
    public Double getReturnTripCompensatoryCoefficientCForNightTime() {
        return returnTripCompensatoryCoefficientCForNightTime;
    }

    public void setReturnTripCompensatoryCoefficientCForNightTime(Double returnTripCompensatoryCoefficientCForNightTime) {
        this.returnTripCompensatoryCoefficientCForNightTime = returnTripCompensatoryCoefficientCForNightTime;
    }

    @Basic
    @Column(name = "fixed_price", nullable = true)
    public Integer getFixedPrice() {
        return fixedPrice;
    }

    public void setFixedPrice(Integer fixedPrice) {
        this.fixedPrice = fixedPrice;
    }

    @Basic
    @Column(name = "halfday_charter_price", nullable = true)
    public Integer getHalfdayCharterPrice() {
        return halfdayCharterPrice;
    }

    public void setHalfdayCharterPrice(Integer halfdayCharterPrice) {
        this.halfdayCharterPrice = halfdayCharterPrice;
    }

    @Basic
    @Column(name = "halfday_charter_km_included", nullable = true)
    public Integer getHalfdayCharterKmIncluded() {
        return halfdayCharterKmIncluded;
    }

    public void setHalfdayCharterKmIncluded(Integer halfdayCharterKmIncluded) {
        this.halfdayCharterKmIncluded = halfdayCharterKmIncluded;
    }

    @Basic
    @Column(name = "fullday_charter_price", nullable = true)
    public Integer getFulldayCharterPrice() {
        return fulldayCharterPrice;
    }

    public void setFulldayCharterPrice(Integer fulldayCharterPrice) {
        this.fulldayCharterPrice = fulldayCharterPrice;
    }

    @Basic
    @Column(name = "fullday_charter_km_included", nullable = true)
    public Integer getFulldayCharterKmIncluded() {
        return fulldayCharterKmIncluded;
    }

    public void setFulldayCharterKmIncluded(Integer fulldayCharterKmIncluded) {
        this.fulldayCharterKmIncluded = fulldayCharterKmIncluded;
    }

    @Basic
    @Column(name = "hourly_charter_price", nullable = true)
    public Integer getHourlyCharterPrice() {
        return hourlyCharterPrice;
    }

    public void setHourlyCharterPrice(Integer hourlyCharterPrice) {
        this.hourlyCharterPrice = hourlyCharterPrice;
    }

    @Basic
    @Column(name = "hourly_charter_km_included", nullable = true)
    public Integer getHourlyCharterKmIncluded() {
        return hourlyCharterKmIncluded;
    }

    public void setHourlyCharterKmIncluded(Integer hourlyCharterKmIncluded) {
        this.hourlyCharterKmIncluded = hourlyCharterKmIncluded;
    }

    @Basic
    @Column(name = "halfday_charter_per_person_price", nullable = true)
    public Integer getHalfdayCharterPerPersonPrice() {
        return halfdayCharterPerPersonPrice;
    }

    public void setHalfdayCharterPerPersonPrice(Integer halfdayCharterPerPersonPrice) {
        this.halfdayCharterPerPersonPrice = halfdayCharterPerPersonPrice;
    }

    @Basic
    @Column(name = "fullday_charter_per_person_price", nullable = true)
    public Integer getFulldayCharterPerPersonPrice() {
        return fulldayCharterPerPersonPrice;
    }

    public void setFulldayCharterPerPersonPrice(Integer fulldayCharterPerPersonPrice) {
        this.fulldayCharterPerPersonPrice = fulldayCharterPerPersonPrice;
    }

    @Basic
    @Column(name = "charter_extra_per_km", nullable = true)
    public Integer getCharterExtraPerKm() {
        return charterExtraPerKm;
    }

    public void setCharterExtraPerKm(Integer charterExtraPerKm) {
        this.charterExtraPerKm = charterExtraPerKm;
    }

    @Basic
    @Column(name = "charter_extra_per_hour", nullable = true)
    public Integer getCharterExtraPerHour() {
        return charterExtraPerHour;
    }

    public void setCharterExtraPerHour(Integer charterExtraPerHour) {
        this.charterExtraPerHour = charterExtraPerHour;
    }

    @Basic
    @Column(name = "available", nullable = true)
    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    @Basic
    @Column(name = "description", nullable = true, length = 2048)
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PriceAlgorithmEntity that = (PriceAlgorithmEntity) o;

        if (id != that.id) return false;
        if (morningPeakStart != null ? !morningPeakStart.equals(that.morningPeakStart) : that.morningPeakStart != null)
            return false;
        if (morningPeakEnd != null ? !morningPeakEnd.equals(that.morningPeakEnd) : that.morningPeakEnd != null)
            return false;
        if (eveningPeakStart != null ? !eveningPeakStart.equals(that.eveningPeakStart) : that.eveningPeakStart != null)
            return false;
        if (eveningPeakEnd != null ? !eveningPeakEnd.equals(that.eveningPeakEnd) : that.eveningPeakEnd != null)
            return false;
        if (otherPeakStart != null ? !otherPeakStart.equals(that.otherPeakStart) : that.otherPeakStart != null)
            return false;
        if (otherPeakEnd != null ? !otherPeakEnd.equals(that.otherPeakEnd) : that.otherPeakEnd != null) return false;
        if (nightTimeStart != null ? !nightTimeStart.equals(that.nightTimeStart) : that.nightTimeStart != null)
            return false;
        if (nightTimeEnd != null ? !nightTimeEnd.equals(that.nightTimeEnd) : that.nightTimeEnd != null) return false;
        if (basePrice != null ? !basePrice.equals(that.basePrice) : that.basePrice != null) return false;
        if (baseDistance != null ? !baseDistance.equals(that.baseDistance) : that.baseDistance != null) return false;
        if (pricePerKm != null ? !pricePerKm.equals(that.pricePerKm) : that.pricePerKm != null) return false;
        if (pricePerMinute != null ? !pricePerMinute.equals(that.pricePerMinute) : that.pricePerMinute != null)
            return false;
        if (distanceCompensatoryThreshold != null ? !distanceCompensatoryThreshold.equals(that.distanceCompensatoryThreshold) : that.distanceCompensatoryThreshold != null)
            return false;
        if (returnTripCompensatoryDivider != null ? !returnTripCompensatoryDivider.equals(that.returnTripCompensatoryDivider) : that.returnTripCompensatoryDivider != null)
            return false;
        if (returnTripCompensatoryPower != null ? !returnTripCompensatoryPower.equals(that.returnTripCompensatoryPower) : that.returnTripCompensatoryPower != null)
            return false;
        if (returnTripCompensatoryCoefficientA != null ? !returnTripCompensatoryCoefficientA.equals(that.returnTripCompensatoryCoefficientA) : that.returnTripCompensatoryCoefficientA != null)
            return false;
        if (returnTripCompensatoryCoefficientB != null ? !returnTripCompensatoryCoefficientB.equals(that.returnTripCompensatoryCoefficientB) : that.returnTripCompensatoryCoefficientB != null)
            return false;
        if (returnTripCompensatoryCoefficientC != null ? !returnTripCompensatoryCoefficientC.equals(that.returnTripCompensatoryCoefficientC) : that.returnTripCompensatoryCoefficientC != null)
            return false;
        if (basePriceForMorningPeak != null ? !basePriceForMorningPeak.equals(that.basePriceForMorningPeak) : that.basePriceForMorningPeak != null)
            return false;
        if (baseDistanceForMorningPeak != null ? !baseDistanceForMorningPeak.equals(that.baseDistanceForMorningPeak) : that.baseDistanceForMorningPeak != null)
            return false;
        if (pricePerKmForMorningPeak != null ? !pricePerKmForMorningPeak.equals(that.pricePerKmForMorningPeak) : that.pricePerKmForMorningPeak != null)
            return false;
        if (pricePerMinuteForMorningPeak != null ? !pricePerMinuteForMorningPeak.equals(that.pricePerMinuteForMorningPeak) : that.pricePerMinuteForMorningPeak != null)
            return false;
        if (distanceCompensatoryThresholdForMorningPeak != null ? !distanceCompensatoryThresholdForMorningPeak.equals(that.distanceCompensatoryThresholdForMorningPeak) : that.distanceCompensatoryThresholdForMorningPeak != null)
            return false;
        if (returnTripCompensatoryDividerForMorningPeak != null ? !returnTripCompensatoryDividerForMorningPeak.equals(that.returnTripCompensatoryDividerForMorningPeak) : that.returnTripCompensatoryDividerForMorningPeak != null)
            return false;
        if (returnTripCompensatoryPowerForMorningPeak != null ? !returnTripCompensatoryPowerForMorningPeak.equals(that.returnTripCompensatoryPowerForMorningPeak) : that.returnTripCompensatoryPowerForMorningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientAForMorningPeak != null ? !returnTripCompensatoryCoefficientAForMorningPeak.equals(that.returnTripCompensatoryCoefficientAForMorningPeak) : that.returnTripCompensatoryCoefficientAForMorningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientBForMorningPeak != null ? !returnTripCompensatoryCoefficientBForMorningPeak.equals(that.returnTripCompensatoryCoefficientBForMorningPeak) : that.returnTripCompensatoryCoefficientBForMorningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientCForMorningPeak != null ? !returnTripCompensatoryCoefficientCForMorningPeak.equals(that.returnTripCompensatoryCoefficientCForMorningPeak) : that.returnTripCompensatoryCoefficientCForMorningPeak != null)
            return false;
        if (basePriceForEveningPeak != null ? !basePriceForEveningPeak.equals(that.basePriceForEveningPeak) : that.basePriceForEveningPeak != null)
            return false;
        if (baseDistanceForEveningPeak != null ? !baseDistanceForEveningPeak.equals(that.baseDistanceForEveningPeak) : that.baseDistanceForEveningPeak != null)
            return false;
        if (pricePerKmForEveningPeak != null ? !pricePerKmForEveningPeak.equals(that.pricePerKmForEveningPeak) : that.pricePerKmForEveningPeak != null)
            return false;
        if (pricePerMinuteForEveningPeak != null ? !pricePerMinuteForEveningPeak.equals(that.pricePerMinuteForEveningPeak) : that.pricePerMinuteForEveningPeak != null)
            return false;
        if (distanceCompensatoryThresholdForEveningPeak != null ? !distanceCompensatoryThresholdForEveningPeak.equals(that.distanceCompensatoryThresholdForEveningPeak) : that.distanceCompensatoryThresholdForEveningPeak != null)
            return false;
        if (returnTripCompensatoryDividerForEveningPeak != null ? !returnTripCompensatoryDividerForEveningPeak.equals(that.returnTripCompensatoryDividerForEveningPeak) : that.returnTripCompensatoryDividerForEveningPeak != null)
            return false;
        if (returnTripCompensatoryPowerForEveningPeak != null ? !returnTripCompensatoryPowerForEveningPeak.equals(that.returnTripCompensatoryPowerForEveningPeak) : that.returnTripCompensatoryPowerForEveningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientAForEveningPeak != null ? !returnTripCompensatoryCoefficientAForEveningPeak.equals(that.returnTripCompensatoryCoefficientAForEveningPeak) : that.returnTripCompensatoryCoefficientAForEveningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientBForEveningPeak != null ? !returnTripCompensatoryCoefficientBForEveningPeak.equals(that.returnTripCompensatoryCoefficientBForEveningPeak) : that.returnTripCompensatoryCoefficientBForEveningPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientCForEveningPeak != null ? !returnTripCompensatoryCoefficientCForEveningPeak.equals(that.returnTripCompensatoryCoefficientCForEveningPeak) : that.returnTripCompensatoryCoefficientCForEveningPeak != null)
            return false;
        if (basePriceForOtherPeak != null ? !basePriceForOtherPeak.equals(that.basePriceForOtherPeak) : that.basePriceForOtherPeak != null)
            return false;
        if (baseDistanceForOtherPeak != null ? !baseDistanceForOtherPeak.equals(that.baseDistanceForOtherPeak) : that.baseDistanceForOtherPeak != null)
            return false;
        if (pricePerKmForOtherPeak != null ? !pricePerKmForOtherPeak.equals(that.pricePerKmForOtherPeak) : that.pricePerKmForOtherPeak != null)
            return false;
        if (pricePerMinuteForOtherPeak != null ? !pricePerMinuteForOtherPeak.equals(that.pricePerMinuteForOtherPeak) : that.pricePerMinuteForOtherPeak != null)
            return false;
        if (distanceCompensatoryThresholdForOtherPeak != null ? !distanceCompensatoryThresholdForOtherPeak.equals(that.distanceCompensatoryThresholdForOtherPeak) : that.distanceCompensatoryThresholdForOtherPeak != null)
            return false;
        if (returnTripCompensatoryDividerForOtherPeak != null ? !returnTripCompensatoryDividerForOtherPeak.equals(that.returnTripCompensatoryDividerForOtherPeak) : that.returnTripCompensatoryDividerForOtherPeak != null)
            return false;
        if (returnTripCompensatoryPowerForOtherPeak != null ? !returnTripCompensatoryPowerForOtherPeak.equals(that.returnTripCompensatoryPowerForOtherPeak) : that.returnTripCompensatoryPowerForOtherPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientAForOtherPeak != null ? !returnTripCompensatoryCoefficientAForOtherPeak.equals(that.returnTripCompensatoryCoefficientAForOtherPeak) : that.returnTripCompensatoryCoefficientAForOtherPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientBForOtherPeak != null ? !returnTripCompensatoryCoefficientBForOtherPeak.equals(that.returnTripCompensatoryCoefficientBForOtherPeak) : that.returnTripCompensatoryCoefficientBForOtherPeak != null)
            return false;
        if (returnTripCompensatoryCoefficientCForOtherPeak != null ? !returnTripCompensatoryCoefficientCForOtherPeak.equals(that.returnTripCompensatoryCoefficientCForOtherPeak) : that.returnTripCompensatoryCoefficientCForOtherPeak != null)
            return false;
        if (basePriceForNightTime != null ? !basePriceForNightTime.equals(that.basePriceForNightTime) : that.basePriceForNightTime != null)
            return false;
        if (baseDistanceForNightTime != null ? !baseDistanceForNightTime.equals(that.baseDistanceForNightTime) : that.baseDistanceForNightTime != null)
            return false;
        if (pricePerKmForNightTime != null ? !pricePerKmForNightTime.equals(that.pricePerKmForNightTime) : that.pricePerKmForNightTime != null)
            return false;
        if (pricePerMinuteForNightTime != null ? !pricePerMinuteForNightTime.equals(that.pricePerMinuteForNightTime) : that.pricePerMinuteForNightTime != null)
            return false;
        if (distanceCompensatoryThresholdForNightTime != null ? !distanceCompensatoryThresholdForNightTime.equals(that.distanceCompensatoryThresholdForNightTime) : that.distanceCompensatoryThresholdForNightTime != null)
            return false;
        if (returnTripCompensatoryDividerForNightTime != null ? !returnTripCompensatoryDividerForNightTime.equals(that.returnTripCompensatoryDividerForNightTime) : that.returnTripCompensatoryDividerForNightTime != null)
            return false;
        if (returnTripCompensatoryPowerForNightTime != null ? !returnTripCompensatoryPowerForNightTime.equals(that.returnTripCompensatoryPowerForNightTime) : that.returnTripCompensatoryPowerForNightTime != null)
            return false;
        if (returnTripCompensatoryCoefficientAForNightTime != null ? !returnTripCompensatoryCoefficientAForNightTime.equals(that.returnTripCompensatoryCoefficientAForNightTime) : that.returnTripCompensatoryCoefficientAForNightTime != null)
            return false;
        if (returnTripCompensatoryCoefficientBForNightTime != null ? !returnTripCompensatoryCoefficientBForNightTime.equals(that.returnTripCompensatoryCoefficientBForNightTime) : that.returnTripCompensatoryCoefficientBForNightTime != null)
            return false;
        if (returnTripCompensatoryCoefficientCForNightTime != null ? !returnTripCompensatoryCoefficientCForNightTime.equals(that.returnTripCompensatoryCoefficientCForNightTime) : that.returnTripCompensatoryCoefficientCForNightTime != null)
            return false;
        if (fixedPrice != null ? !fixedPrice.equals(that.fixedPrice) : that.fixedPrice != null) return false;
        if (halfdayCharterPrice != null ? !halfdayCharterPrice.equals(that.halfdayCharterPrice) : that.halfdayCharterPrice != null)
            return false;
        if (halfdayCharterKmIncluded != null ? !halfdayCharterKmIncluded.equals(that.halfdayCharterKmIncluded) : that.halfdayCharterKmIncluded != null)
            return false;
        if (fulldayCharterPrice != null ? !fulldayCharterPrice.equals(that.fulldayCharterPrice) : that.fulldayCharterPrice != null)
            return false;
        if (fulldayCharterKmIncluded != null ? !fulldayCharterKmIncluded.equals(that.fulldayCharterKmIncluded) : that.fulldayCharterKmIncluded != null)
            return false;
        if (hourlyCharterPrice != null ? !hourlyCharterPrice.equals(that.hourlyCharterPrice) : that.hourlyCharterPrice != null)
            return false;
        if (hourlyCharterKmIncluded != null ? !hourlyCharterKmIncluded.equals(that.hourlyCharterKmIncluded) : that.hourlyCharterKmIncluded != null)
            return false;
        if (halfdayCharterPerPersonPrice != null ? !halfdayCharterPerPersonPrice.equals(that.halfdayCharterPerPersonPrice) : that.halfdayCharterPerPersonPrice != null)
            return false;
        if (fulldayCharterPerPersonPrice != null ? !fulldayCharterPerPersonPrice.equals(that.fulldayCharterPerPersonPrice) : that.fulldayCharterPerPersonPrice != null)
            return false;
        if (charterExtraPerKm != null ? !charterExtraPerKm.equals(that.charterExtraPerKm) : that.charterExtraPerKm != null)
            return false;
        if (charterExtraPerHour != null ? !charterExtraPerHour.equals(that.charterExtraPerHour) : that.charterExtraPerHour != null)
            return false;
        if (available != null ? !available.equals(that.available) : that.available != null) return false;
        if (description != null ? !description.equals(that.description) : that.description != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (morningPeakStart != null ? morningPeakStart.hashCode() : 0);
        result = 31 * result + (morningPeakEnd != null ? morningPeakEnd.hashCode() : 0);
        result = 31 * result + (eveningPeakStart != null ? eveningPeakStart.hashCode() : 0);
        result = 31 * result + (eveningPeakEnd != null ? eveningPeakEnd.hashCode() : 0);
        result = 31 * result + (otherPeakStart != null ? otherPeakStart.hashCode() : 0);
        result = 31 * result + (otherPeakEnd != null ? otherPeakEnd.hashCode() : 0);
        result = 31 * result + (nightTimeStart != null ? nightTimeStart.hashCode() : 0);
        result = 31 * result + (nightTimeEnd != null ? nightTimeEnd.hashCode() : 0);
        result = 31 * result + (basePrice != null ? basePrice.hashCode() : 0);
        result = 31 * result + (baseDistance != null ? baseDistance.hashCode() : 0);
        result = 31 * result + (pricePerKm != null ? pricePerKm.hashCode() : 0);
        result = 31 * result + (pricePerMinute != null ? pricePerMinute.hashCode() : 0);
        result = 31 * result + (distanceCompensatoryThreshold != null ? distanceCompensatoryThreshold.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryDivider != null ? returnTripCompensatoryDivider.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryPower != null ? returnTripCompensatoryPower.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientA != null ? returnTripCompensatoryCoefficientA.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientB != null ? returnTripCompensatoryCoefficientB.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientC != null ? returnTripCompensatoryCoefficientC.hashCode() : 0);
        result = 31 * result + (basePriceForMorningPeak != null ? basePriceForMorningPeak.hashCode() : 0);
        result = 31 * result + (baseDistanceForMorningPeak != null ? baseDistanceForMorningPeak.hashCode() : 0);
        result = 31 * result + (pricePerKmForMorningPeak != null ? pricePerKmForMorningPeak.hashCode() : 0);
        result = 31 * result + (pricePerMinuteForMorningPeak != null ? pricePerMinuteForMorningPeak.hashCode() : 0);
        result = 31 * result + (distanceCompensatoryThresholdForMorningPeak != null ? distanceCompensatoryThresholdForMorningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryDividerForMorningPeak != null ? returnTripCompensatoryDividerForMorningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryPowerForMorningPeak != null ? returnTripCompensatoryPowerForMorningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientAForMorningPeak != null ? returnTripCompensatoryCoefficientAForMorningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientBForMorningPeak != null ? returnTripCompensatoryCoefficientBForMorningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientCForMorningPeak != null ? returnTripCompensatoryCoefficientCForMorningPeak.hashCode() : 0);
        result = 31 * result + (basePriceForEveningPeak != null ? basePriceForEveningPeak.hashCode() : 0);
        result = 31 * result + (baseDistanceForEveningPeak != null ? baseDistanceForEveningPeak.hashCode() : 0);
        result = 31 * result + (pricePerKmForEveningPeak != null ? pricePerKmForEveningPeak.hashCode() : 0);
        result = 31 * result + (pricePerMinuteForEveningPeak != null ? pricePerMinuteForEveningPeak.hashCode() : 0);
        result = 31 * result + (distanceCompensatoryThresholdForEveningPeak != null ? distanceCompensatoryThresholdForEveningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryDividerForEveningPeak != null ? returnTripCompensatoryDividerForEveningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryPowerForEveningPeak != null ? returnTripCompensatoryPowerForEveningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientAForEveningPeak != null ? returnTripCompensatoryCoefficientAForEveningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientBForEveningPeak != null ? returnTripCompensatoryCoefficientBForEveningPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientCForEveningPeak != null ? returnTripCompensatoryCoefficientCForEveningPeak.hashCode() : 0);
        result = 31 * result + (basePriceForOtherPeak != null ? basePriceForOtherPeak.hashCode() : 0);
        result = 31 * result + (baseDistanceForOtherPeak != null ? baseDistanceForOtherPeak.hashCode() : 0);
        result = 31 * result + (pricePerKmForOtherPeak != null ? pricePerKmForOtherPeak.hashCode() : 0);
        result = 31 * result + (pricePerMinuteForOtherPeak != null ? pricePerMinuteForOtherPeak.hashCode() : 0);
        result = 31 * result + (distanceCompensatoryThresholdForOtherPeak != null ? distanceCompensatoryThresholdForOtherPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryDividerForOtherPeak != null ? returnTripCompensatoryDividerForOtherPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryPowerForOtherPeak != null ? returnTripCompensatoryPowerForOtherPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientAForOtherPeak != null ? returnTripCompensatoryCoefficientAForOtherPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientBForOtherPeak != null ? returnTripCompensatoryCoefficientBForOtherPeak.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientCForOtherPeak != null ? returnTripCompensatoryCoefficientCForOtherPeak.hashCode() : 0);
        result = 31 * result + (basePriceForNightTime != null ? basePriceForNightTime.hashCode() : 0);
        result = 31 * result + (baseDistanceForNightTime != null ? baseDistanceForNightTime.hashCode() : 0);
        result = 31 * result + (pricePerKmForNightTime != null ? pricePerKmForNightTime.hashCode() : 0);
        result = 31 * result + (pricePerMinuteForNightTime != null ? pricePerMinuteForNightTime.hashCode() : 0);
        result = 31 * result + (distanceCompensatoryThresholdForNightTime != null ? distanceCompensatoryThresholdForNightTime.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryDividerForNightTime != null ? returnTripCompensatoryDividerForNightTime.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryPowerForNightTime != null ? returnTripCompensatoryPowerForNightTime.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientAForNightTime != null ? returnTripCompensatoryCoefficientAForNightTime.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientBForNightTime != null ? returnTripCompensatoryCoefficientBForNightTime.hashCode() : 0);
        result = 31 * result + (returnTripCompensatoryCoefficientCForNightTime != null ? returnTripCompensatoryCoefficientCForNightTime.hashCode() : 0);
        result = 31 * result + (fixedPrice != null ? fixedPrice.hashCode() : 0);
        result = 31 * result + (halfdayCharterPrice != null ? halfdayCharterPrice.hashCode() : 0);
        result = 31 * result + (halfdayCharterKmIncluded != null ? halfdayCharterKmIncluded.hashCode() : 0);
        result = 31 * result + (fulldayCharterPrice != null ? fulldayCharterPrice.hashCode() : 0);
        result = 31 * result + (fulldayCharterKmIncluded != null ? fulldayCharterKmIncluded.hashCode() : 0);
        result = 31 * result + (hourlyCharterPrice != null ? hourlyCharterPrice.hashCode() : 0);
        result = 31 * result + (hourlyCharterKmIncluded != null ? hourlyCharterKmIncluded.hashCode() : 0);
        result = 31 * result + (halfdayCharterPerPersonPrice != null ? halfdayCharterPerPersonPrice.hashCode() : 0);
        result = 31 * result + (fulldayCharterPerPersonPrice != null ? fulldayCharterPerPersonPrice.hashCode() : 0);
        result = 31 * result + (charterExtraPerKm != null ? charterExtraPerKm.hashCode() : 0);
        result = 31 * result + (charterExtraPerHour != null ? charterExtraPerHour.hashCode() : 0);
        result = 31 * result + (available != null ? available.hashCode() : 0);
        result = 31 * result + (description != null ? description.hashCode() : 0);
        return result;
    }
}
